package p08.p0801;

/**
 * Created by wy on 7/17/2017.
 */
public class ArrayDemo {
    public static void main(String[] args) {
        int array[] = {0,1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14,15};
        for (int i = 0; i < array.length; i++) {
            if (i == array.length - 1) {
                System.out.println(array[i]);
            } else {
                System.out.println(array[i] + ", ");
            }
        }


    }
}